package top.bulk.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 用户类
 *
 * @author 散装java
 * @version 1.0.0
 * @date 2025-02-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Order {
    private Integer id;
    private Integer userId;
    private String productName;

    public Order(Integer userId, String productName) {
        this.userId = userId;
        this.productName = productName;
    }
}
